package com.cjm.one.model.coupon.dto;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

@Data
@AllArgsConstructor
public  class CartItemDTO implements Serializable {
        private static final long serialVersionUID = 1L;
        @NotNull
        private Long skuId;
        @Min(1)
        private Integer quantity;
}